package org.dreamwork.jasmine2.web.controls.chart.settings;

/**
 * Created by IntelliJ IDEA.
 * User: seth
 * Date: 2010-5-12
 * Time: 10:24:19
 */
public class LineChartSetting extends ChartSetting {
    public LineChartSetting () {
        this ("xml");
    }

    public LineChartSetting (String dataType) {
        super (dataType);
        addSection ("zoom_out_button").addAttribute (new ChartSettingAttribute ("text", "显示全部", true));
        addSection ("plot_area").addSection ("margins").addAttribute ("top", "80");
        legendFormat.setValue ("{value}");
    }
}